package pt.isec.a21210392.a21190220.ludotwist.GameLogic;

import pt.isec.a21210392.a21190220.ludotwist.R;

public class GoToBeginHouse extends House
{
	private static final long serialVersionUID = 1L;
	
	public GoToBeginHouse(int number, int line, int column)
	{
		super(number, R.drawable.begin, line, column);
	}
	
	@Override
	public int getDestiny(Pin pin, int diceResult)
	{
		return -1;
	}
	@Override
	public void arrivedHere(Pin pin, int diceResult)
	{
		if (pin instanceof SuperPin)
		{
			((SuperPin) pin).separatePins();
			return;
		}
		pin.putIn();
	}
}
